# alien_o = {'color': 'green', 'points': 5}
# print(alien_o['color'])
# print(alien_o['points'])
# new_points = alien_o['points']
# print(f'you just earned {new_points} points')
# alien_o = {'color': 'green','points': 5}
# print(alien_o)
# alien_o['x_position'] = 0
# alien_o['y_position'] = 25
# print(alien_o)
# alien_o = {}
# alien_o['color'] = 'green'
# alien_o['points'] = 5
# print(alien_o)
#
# alien_o['color'] = 'yellow'
# print(alien_o)
# alien_o = {'x_position': 0, 'y_position': 25, 'speed': 'medium'}
# print("初始x坐标:")
# print(alien_o['x_position'])
# if alien_o['speed'] == 'slow':
#     x_increment = 1
# if alien_o['speed'] == 'medium':
#     x_increment = 2
# else:
#     x_increment = 3
# alien_o['x_position'] = alien_o['x_position'] + x_increment
# print("现在的y坐标")
# print(alien_o['x_position'])
alien_o = {'color': 'green', 'points': 5}
print(alien_o)
del alien_o['points']
print(alien_o)